1. Basic operations
Cleartool co-nc xxx. cpp
Cleartool ci-nc xxx. cpp
2. Check the total number of co files.Cleartool lscheckout-cview-me-avobs
3. The most useful commandsCleartool man xxxCleartool help xxx
4. Add directories and filesCleartool mkdir-c comment new_dirCleartool mkelem-c comment new_file.cpp
5. discard a co FileCleartool unco-keep file. cpp // retain the file currently modifiedCleartool unco
The original post is as follows:
Http://bbs.scmlife.com/viewthread.php? Tid = 12602 page = 1 # pid101508
I found an experimental machine to simulate the fault and test it. I found that thyswallow's solution was feasible.
Follow these steps:
Z:/28848654_test1/dsf_test> cleartool co-NC makefile
Checked out "makefile" from version "/main/1 ".
Z:/28848654_test1/dsf_test> cleartool lsvtree makefile
Makefile @/m
Z:/test/dsfvob_204> cleartool mklabel DSF command.txtCleartool: Error: unable to perform Operation "make label" in replica "dsfvob_204" of vob "/dsfvob_204 ".Cleartool: Error: Master replica of label type "DSF" is "dsfvob_202 ".Cleartool: Error: trouble applying label to "command.txt ".Cleartool: Error: Unable to creat
view information in the ccview directory in ccserv1 to the ccview of ccserv2. if multiple directories need to be copied, you can write a script for unified operation.
Figure 10
4.3.4 check whether the data copied to ccserv2 is complete.
4.3.5 start the clearcase service on ccserv1 and re-register the migrated view on ccserv2.
Because hundreds of views may be involved, it is unrealistic to register a single view.Program. The basic idea is to delete the original registration informatio
Disclaimer: This article welcomes reprinting for non-commercial purposes. If some websites charge users, the reprinting will not be declined. If the reprinting is required, please mark the reprinting. The original author and source should not be like some of my previous articles, some people directly use their own publications to make money.
What can trigger do?
All users who are new to clearcase generally think that trigger is executing a program, but this is not the case. Here we provide an e
Z:/test/dsfvob_204>cleartool Mklabel DSF Command.txtCleartool:Error:Unable to perform operation ' make label ' in replica ' dsfvob_204 ' of VOB '/dsfvob_204 '.Cleartool:Error:Master replica of label type "DSF" is "dsfvob_202".Cleartool:Error:Trouble applying label to "Command.txt".Cleartool:Error:Unable to create label "DSF" on "command.txt" version "/MAIN/CNBJ_DSF_TOOLS_001/1".
Z:/dsf/dsfvob_204>cleartool
This is because the reference to the related view is still saved in the database. You can use the clearcase tool cleartool.exe to completely delete the old view.
1. cleartool lsview-long viewname
---- The uuid recorded---- Format: 0a05ad0d. g024ac6. 9a80. 63: D8: 3A: B4: 14: C62. cleartool rmtag-view viewname
3. cleartool rmview-force-all-UUID Value
4.
lbtype: label_name
// Search for all files in the directory labeled with label_name
CT find.-version "lbtype (label_name)"-print
// View version tree ('G' option for graphics)
CT lsvtree-g xxx. cpp
// GUI tool for clearcase in Linux/Unix
Xcleasecase
// Query all files of a branch
You need to first tap the CT command to enter the clearcase command line
Then: find.-All-branch brtype (my_branch_name)-print
Or directly: CT find.-All-version "brtype (my_branch_name)"-print
Print is printed. You can
Requirement:
I wanted to change the view's owner28848654, GroupCnbj_group.
The below steps I shoshould have followed:
1) Stop view_server process:
Cleartool endview-server view_shufeng_debug
2) fix_prot.exe-root-r-chown 28848654-chgrp cnbj_group D:/viewstore/view_shufeng_debug.vws
3) cleartool register-View-replace // host100/viewstore/view_shufeng_debug.vws
4) c
(1) clearlicense command
-View the current license usage:
C:/> clearlicense
-Release the license occupied by the local machine:
C:/> clearlicense-release
(3) Protect
Changes permissions or ownership of a vob object.
Protect [-CHO/WNLogin-name] [-Chg/RPGroup-name]
[-CHM/OD
Permissions]
[-C/ommentComment|-CFI/LeComment-file-pname|-CQ/uery
|-Cqe/ach |-NC/omment]
{[-Fil/E |-D/irectory] [-r/ecurse] [-PNA/Me]Pname...
|Object-Selector...}
For example:
Z:/>
branch, you can change the last line of element */main/latest to element */main/0.
Now, let's go back to the dynamic view of the UCM type. If we execute the cleartool catcs command for a dynamic view of a UCM type, for example, for the view cuibz_test_int:
M:/cuibz_test_int> cleartool catcs
UCM
Identity UCM. Stream OID: EB
5f
484d. d
89f
46d7. b702.04:
7c
: 84: DD: 66: 88 @ vob
reinstalling the system, you only need to keep the project folders and files generated by the original clearcase. Several copies of the file were backed up before the adventure, then go on.
First, install win2k3 ent server (SP1;
Then, install the rational clearcase lt License Server and clearcase lt Server client, which is easy to use;
Open project explorer and the system prompts that the storage location cannot be found. You need to create a storage location. How can we recover from the origi
Today, we finally solved the clearcase problem that could not be solved for several days,Cleartool> DESC vob:/aaa_dns_vobVersioned object base "/aaa_dns_vob"Created 30-September-05.04: 54: 40 by jinq. aaastat @ IPCCVob family Feature Level: 3Vob storage HOST: pathname "IPCC:/clearcase obs/aaa_dns_vob.vbs"Vob storage global pathname "// IPCC/clearcase/vobs/aaa_dns_vob.vbs"Database schema version: 53Vob ownership:Owner clearcase/jinqGroup clearcase/aaas
ClearCase version Control service, end users need to access the server host using various ClearCase clients (CCRC,CC Web and CC Native client, etc.). These clients provide only the functionality necessary to access the source code data stored in ClearCase, and do not provide the functionality required to monitor ClearCase server's running state. These server running state information can only be obtained by the administrator of the ClearCase system on the server host by using the
Integration stream are recorded. If someone performs the operation, it is only necessary to handle the operation according to discipline. At the same time, trigger may not be used, and trigger is not required as far as possible. For example, if the target stream only allows people with the deliver permission to perform the deliver operation, trigger does not need to be set, you can simply lock the stream, and add the authorized operator to the exclude.
To facilitate the customization process,
modification of the element, it will be triggered only when it is checked out. ThenRe-interpret the content of running config spec for this element. In this case, check is selected on the/main/dev_branch branch.Out version. If the element version checked out on the branch is checked in, the view selects/main/dev_branch.The latest version on the branch, that is, the result of using the second sentence rule. (By the way, the branch type of dev_branch should beCreated in advance ).When the configu
example to focus on how to quickly build a simple Jenkins-based continuous integration environment.Let's assume that the code repository we're using is IBM Rational ClearCase. Jenkins provides plug-in support for ClearCase, which makes it easy to connect to Base ClearCase or UCM ClearCase, making it a code controller for Jenkins Project. Additionally, this plugin is based on the Cleartool command, so you must install the ClearCase client program on t
deleted. So in clear case, we can only see that this file has been checked out, but this file cannot be found! Even more funny, I learned from my colleagues that day that this should be a clearcase problem. Contact cm to solve it.
3. working overtime on weekends, with the help of enthusiastic colleagues, I realized that the check out file was deleted (in fact, I have realized that, grandma, this phenomenon is the same as that of clearcase in Unix. clearto
1) umount needs to restore the element's vob (original vob), remove the tag and unregister it;
2) recover vob from the latest backup. Do not restore it to the original location. You can restore it to another temporary directory on the vob host (which can be created in advance ).
3) register the object for the recovered vob and create a tag named vob_a;
4) create a temporary vob_ B for storing restored elements and use it for intermediate storage;
5) use the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.